<!-- 申报失败弹窗 -->
<template>
    <Modal v-model="sendDeclareModal" width="746" class="col-2" class-name="no-border" :closable="false" footer-hide>
        <div slot="header">
            发送报关单
            <Icon class="f-fr" type="ios-close" @click="closeModel"/>
        </div>
        <div class="clearfix">
            <div class="f-fl icon">
                <Icon type="ios-close-circle" color="red" />
            </div>
            <div class="f-fl modal-content" style="width: 600px; height: 80px">
                {{ sendAllText }}
            </div>
        </div>
    </Modal>
</template>

<script>
export default {
    name: 'DeclareFailModal',
    data () {
        return {
            sendDeclareModal: false,
            sendAllText: ''
        }
    },
    methods: {
        init (sendAllText) {
            this.sendAllText = sendAllText
            this.sendDeclareModal = true
        },
        closeModel () {
            this.sendDeclareModal = false
        }
    }
}
</script>

<style scoped>

</style>
